<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1, user-scalable=no">
		<title>数组扩展</title>
		<script type="text/javascript">
			let p = {name:'tom',age:20}
			let arr = [1,2,5,-10,0,-20,NaN,{name:'tom',age:20},p]
			console.log(arr.includes(p))
			//
			Array.prototype.includes=function(item){}
		</script>
	</head>
	<body>
		<div id="app">
			<!-- todo -->
		</div>
	</body>
</html>
